#include "ProcessPriority.h"

#ifdef WIN32
#include <Windows.h>
#endif

void SetHighPriority()
{
#ifdef WIN32
#ifndef DEBUG
	SetPriorityClass(GetCurrentProcess(), REALTIME_PRIORITY_CLASS);
#endif
#endif
}

void SetNormalPriority()
{
#ifdef WIN32
	SetPriorityClass(GetCurrentProcess(), NORMAL_PRIORITY_CLASS);
#endif
}
